﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QL_DTTN.DTO.DTO
{
  public partial  class ThiSinh:DtoClass
    {
      public ThiSinh()
      { 
          _tableName = "ThiSinh";
          _keyField = "SoBaoDanh";
          _ngaySinh = new DateTime();
          _ngayVaoDang = new DateTime();
          _ngayVaoDoan = new DateTime();
      }
      public ThiSinh(string soBaoDanh,string hoTen,bool gioiTinh,DateTime ngaySinh,string diaChi,string soCMND,DateTime ngayVaoDoan,DateTime ngayVaoDang,string maDoiTuong,Int16 maDanToc,string maTruong,Int16 maTinh,Int16 maHeDaoTao,Int64 maKyThi)
      {
          _tableName = "ThiSinh";
          _keyField = "SoBaoDanh";
          this.SoBaoDanh = soBaoDanh;
          this.HoTen = hoTen;
          this.GioiTinh = gioiTinh;
          this.NgaySinh = ngaySinh;
          this.DiaChi = diaChi;
          this.SoCMND = soCMND;
          this.NgayVaoDang = ngayVaoDang;
          this.NgayVaoDoan = ngayVaoDoan;
          this.MaDoiTuong = maDoiTuong;
          this.MaDanToc = maDanToc;
          this.MaTruong = maTruong;
          this.MaTinh = maTinh;
          this.MaHeDaoTao = maHeDaoTao;
          this.MaKyThi = maKyThi;

      }
      private string _soBaoDanh = "";

      public string SoBaoDanh
      {
          get { return _soBaoDanh; }
          set { _soBaoDanh = value; }
      }
      private string _hoTen = "";

      public string HoTen
      {
          get { return _hoTen; }
          set { _hoTen = value; }
      }
      private bool _gioiTinh = true;

      public bool GioiTinh
      {
          get { return _gioiTinh; }
          set { _gioiTinh = value; }
      }
      private DateTime _ngaySinh;

      public DateTime NgaySinh
      {
          get { return _ngaySinh; }
          set { _ngaySinh = value; }
      }
      private string _diaChi = "";

      public string DiaChi
      {
          get { return _diaChi; }
          set { _diaChi = value; }
      }
      private string _soCMND = "";

      public string SoCMND
      {
          get { return _soCMND; }
          set { _soCMND = value; }
      }
      private DateTime _ngayVaoDoan;

      public DateTime NgayVaoDoan
      {
          get { return _ngayVaoDoan; }
          set { _ngayVaoDoan = value; }
      }
      private DateTime _ngayVaoDang;

      public DateTime NgayVaoDang
      {
          get { return _ngayVaoDang; }
          set { _ngayVaoDang = value; }
      }
      private string _maDoiTuong;

      public string MaDoiTuong
      {
          get { return _maDoiTuong; }
          set { _maDoiTuong = value; }
      }
      private Int16 _maDanToc;

      public Int16 MaDanToc
      {
          get { return _maDanToc; }
          set { _maDanToc = value; }
      }
      private string _maTruong;

      public string MaTruong
      {
          get { return _maTruong; }
          set { _maTruong = value; }
      }
      private Int16 _maTinh;

      public Int16 MaTinh
      {
          get { return _maTinh; }
          set { _maTinh = value; }
      }
      private Int16 _maHeDaoTao;

      public Int16 MaHeDaoTao
      {
          get { return _maHeDaoTao; }
          set { _maHeDaoTao = value; }
      }
      private Int64 _maKyThi;

      public Int64 MaKyThi
      {
          get { return _maKyThi; }
          set { _maKyThi = value; }
      }
    }
}
